package com.ccsu.mymarket.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccsu.mymarket.entity.Authority;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuthorityDao extends BaseMapper<Authority> {
    public Integer addRoleAuthoRel(@Param("authoList")List<Integer> authoList,@Param("roleId") Integer roleId);

    public Integer deleteRoleAuthoRel(Integer id);
}
